//
//  MobileModel.m
//  EasyToo
//
//  Created by linshengqin on 13-9-8.
//
//

#import "MobileModel.h"
static MobileModel* mobile_model = nil;
@implementation MobileModel

+(MobileModel*)sharedata
{
    if(mobile_model == nil)
    {
        mobile_model = [[MobileModel alloc]init];
    }
    
    return mobile_model ;
}

- (id)init
{
    self = [super init];
    if (self) {
        _phoneNum = [[NSMutableString alloc] init];
        _price    = [[NSMutableString alloc] init];
        _cardIdArray   = [[NSMutableArray alloc] init];
        _area = [[NSMutableString alloc] init];
        _cardType = [[NSMutableString alloc] init];
        _cardId = [[NSMutableString alloc] init];
        _payType  = 0;
    }
    return self;
}
- (void)dealloc
{
    [_phoneNum release],_phoneNum = nil;
    [_price release],_price = nil;
    [_cardIdArray release],_cardIdArray = nil;
    [_area release],_area = nil;
    [_cardType release],_cardType = nil;
    [_cardId release],_cardId = nil;
    [mobile_model release];
    [super dealloc];
}

@end
